NOJIRA - some JS reformatting