replace dash after serialize in .js