Added first version of javascript logger.