Reverted Castle to v2.5.1.0
added gitignore
use protocol-relative path for javascript