added judge to gemfile for client side validation
added judge's dependencies to js folder