added more server side js