fixed javascript in assets to not read illegal token