Added ajax calls to ruby
Added profile map js