Re-fixed for Scala.js 0.5.0 support

see also: https://github.com/skinny-framework/skinny-framework/commit/7deb902471503574527ba18c0beda7f63f9671fd#commitcomment-6756124