Added Javascript console logging

Signed-off-by: Simon Bailey <simon@newtriks.com>
Merge branch 'master' of github.com:newtriks/Beaver