added new js file for pdf windowing