make useable in produciton

1. foundation.js throw an exception lead to our charts code not execte. move "require foundation" after "require ." could avoid this bug.
2.updated usage.