JS integration for maps api