removed unneeded javascript scaling