Added check for init before calling it and removed minified version and map