removed console, fixed js error, #224.

Signed-off-by: Zane M. Kolnik <zanematthew@gmail.com>