removed extra js var