Quick javascript edits