Making Things Smart: Easy Embedded JavaScript Programming for Making Everyday Objects into Intelligent Machines