redo web-app preview js/css due to drupal issues