ID add to JS, removed useless js code