add base javascript
add base javascript