Add reconnect functionality, add functionality for creating minified application.js and bump version