More JS updates

 - Adding some spiffy new empty divs
 - Getting api.js to work mostly