fixed compressed js file errors