Cleaned Up Excess Javascript