fixed pastek_core_js (should be improved !)
poor test file added for pastek_core_js.js