Javascript code for F14, etc. submitted