fix for missing javascript file include, added if file_exists around include.