Added some JS TV API like code snippets to application.js