Add precompiled assets for Heroku
some codes
 bug fixs