APSTUD-8061 Javascript format shorthand modulo


- Add unit test and fix for %= operator