Do I need to learn html/css to better use webflow or can I start immediately with javascript

Webflow has no support for backend stuff.

See http://forum.webflow.com/t/list-known-limitations-on-webflow/23610?u=samliew

As for custom code, see Custom code in head and body tags - Webflow University Documentation