basis.template: fix exception when script with specified id not found
basis.template: process value attribute for <select> as special