Bug Fix

Fixed a javascript bug that was causing pages to not finish loading.