notes about graphics in java script