JS common bugs examples and solution added