Added bettermap support and replaced ejs with sjs

Please, review and let me know if any comments or suggestions