Removed unnecessary js var