clean up, some javascript options