Updated javascript to be compressed