Rails engine for logging from Browser Javascript to server