Add js objects to window object