Added setTimeout and setInteval to api.js
Updated Documentation
The new API methods now appear in the built JSDocs