Cleaned up javascript removed old console logs