RE: form remote tag :before=> function problem

Dont use return. If you have something to validate before ajax call then
do it using :condition option.

Moving the hello js call in :condition option should solve your problem.