Setting javascript within erb files (rails).