Javascript Rails 4 Update Instance Variables Without Page Reload

Javascript Rails 4 Update Instance Variables Without Page Reload