Use heredoc for javascript in method.