Seperate partial was causing JS issues
Add check for empty params before POSTing