comments and js fixes

Signed-off-by: Galen Lockwood <galenlockwood@gmail.com>