remove not in use js and typo fix. closes #183