New priority form JS