Refractor javascript, fix #39
Fixed DRM free error
smallcaps