Fixed invalid JS