cleaned up .js