removed extraneous text from js