some JS changes n shit