Updated JS for Firefox support, added meta data