Fix jshints
refactor modal view page, instructions

new qr-code/instructions: not done