input jquery rails version
fixed private method so that ruby execpts params