fixed scroll bar behavior
refactored js directory structure