js needs to be fixed