Added BOM in JavaScript