updated rails for local javascript and local css