javaScript file for inner