Fix js for the field_id conflict causing issues
fix global var issues in js and bump version to 1.1.1