Get attribute value from parameter
Format javascript
Simplify file protocol check
Remove redundant array
Fix some issues with importing fonts