Fix path for heroku
Fix js de/serialization