removed unwanted js and code clean up