minor fix to format string and js variable
Merge pull request #1 from kapadia/master

minor fix to format string and js variable