main.js (shared general app javascript) - fixed cases when there is no console (using for client side logging purposes) object available (eg. IE7) at all or only missing some methods (eg. console.debug in IE10)
BaseGlobal - removed unused code
Api  - saving of quote failed when validation of Quote doesn't pass (eg. quoteText is too big)

     - added javadoc and todos