Fix #679 Assets::js() returns nothing if a string is passed as first argument