js was not working. now it is fixed