Switching to a ajax js approach.