Added changes in purchase model
Changes in js
Merge branch 'master' of https://github.com/technomicssolutions/smartbook