getting rid of useless js