some notes about JavaScript