added possibility to change security parameter name.  Also make sur js var has no dash character that cause wp error