Only add script/style if bin has js/css

closes #684