a basic javascript cheat_sheet