Fixed issue that js default param