Moved in-line select handler to js file.