deleted unnecessary javacript