Updated for new JS page dimensions