javascript: don't add property if it is a regexp.

When running the test "ctags: Warning: ignoring null tag in Test/1878155.js"
is printed repeatedly because ctags tries to add a regexp property to tags
file; javascript parser makes an empty tag for a regexp.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>