added javascript for meta boxes

added custom javascript that is used for the custom meta boxes