Fixed view.php
Removed manifest
Improved JS for view.php