javascript code dump