Fixed tpl and up mapboxjs