optimized and cleaned javascript code