removed js tag
optimized code