Vehicle Foreign Key issue resolved and JS added