added notices for included js code