What is considered to be the bug with switched javascript

UP